package org.example.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.example.common.R;
import org.example.pojo.entity.WmNews;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.example.pojo.vo.WmNewsVo;
import org.example.pojo.vo.WmNewsVoPage;

import java.util.List;

/**
 * @author 妖妖零
 * @description 针对表【wm_news(自媒体图文内容信息表)】的数据库操作Mapper
 * @createDate 2024-06-06 16:58:27
 * @Entity org.example.pojo.entity.WmNews
 */
public interface WmNewsMapper extends BaseMapper<WmNews> {

    List<WmNewsVoPage> getArticleList(@Param("title") String title, @Param("name") String name, @Param("startTime") String startTime, @Param("endTime") String endTime, @Param("pages") Integer pages, @Param("size") Integer size);
}




